<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - 家族树</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <link rel="stylesheet" href="styles.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
            background-color: #fff;
            color: #333;
            margin: 0;
            padding: 0;
            height: 100vh;
        }
        
        /* 状态栏样式 */
        .status-bar {
            height: 44px;
            background-color: #ffffff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .btn-primary {
            background-color: #e86c60;
            color: white;
            border-radius: 8px;
            padding: 12px 20px;
            font-weight: 500;
            border: none;
            width: 100%;
        }
        
        .social-login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 16px;
            font-weight: 500;
        }
        
        .social-icon {
            margin-right: 12px;
            font-size: 20px;
        }
        
        .wechat-icon {
            color: #07C160;
        }
        
        .qq-icon {
            color: #12B7F5;
        }
        
        .input-field {
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 16px;
            width: 100%;
        }
    </style>
</head>
<body>
    <!-- iOS状态栏 -->
    <div class="status-bar">
        <div class="time font-medium">9:41</div>
        <div class="icons flex">
            <i class="fas fa-signal mr-1"></i>
            <i class="fas fa-wifi mr-1"></i>
            <i class="fas fa-battery-full"></i>
        </div>
    </div>
    
    <div class="p-8 flex flex-col h-full">
        <div class="mt-12 mb-12 text-center">
            <img src="family_tree_logo.svg" alt="Logo" class="mx-auto rounded-2xl mb-4" style="width: 120px; height: 120px;">
            <h1 class="text-3xl font-bold text-gray-800">家族树</h1>
            <p class="text-gray-500 mt-2">连接家族，传承历史</p>
        </div>
        
        <div class="flex-grow">
            <form>
                <input type="text" class="input-field" placeholder="手机号/邮箱">
                <input type="password" class="input-field" placeholder="密码">
                
                <button type="submit" class="btn-primary mb-4">登 录</button>
                
                <div class="flex justify-between text-sm mb-8">
                    <a href="#" class="text-gray-500">忘记密码?</a>
                    <a href="register.html" class="text-e86c60 font-medium" style="color: #e86c60;">注册新账号</a>
                </div>
                
                <div class="relative my-6">
                    <div class="absolute inset-0 flex items-center">
                        <div class="w-full border-t border-gray-300"></div>
                    </div>
                    <div class="relative flex justify-center text-sm">
                        <span class="px-2 bg-white text-gray-500">其他登录方式</span>
                    </div>
                </div>
                
                <div class="social-login-btn">
                    <i class="fab fa-weixin social-icon wechat-icon"></i>
                    <span>微信登录</span>
                </div>
                
                <div class="social-login-btn">
                    <i class="fab fa-qq social-icon qq-icon"></i>
                    <span>QQ登录</span>
                </div>
            </form>
        </div>
        
        <div class="mt-auto mb-8 text-center text-xs text-gray-400">
            登录即表示您同意我们的<a href="#" class="text-e86c60" style="color: #e86c60;">服务条款</a>和<a href="#" class="text-e86c60" style="color: #e86c60;">隐私政策</a>
        </div>
    </div>
</body>
</html> 